TARGETS = io_file 
all: $(TARGETS)

CPP = g++
CPPFLAGS = -std=c++11 -g 

%.o : %.cpp
	$(CPP) $(CPPFLAGS) -c $< -o $@

io_file: io_file.o
	$(CPP) $^ -o io_file

.PHONY: clean
clean:
	rm -rf *.o $(TARGETS) 